<template>
	<div class="inline-flex items-center">
		<n-spin size="small" />
		<base-text :textT="textT" :text="text" class="mt-4 text-text-3">{{ text }}</base-text>
	</div>
</template>

<script setup lang="ts">
import { NSpin } from 'naive-ui'
import BaseText from '../text/index.vue'

defineProps({
	text: {
		type: String,
		default: ''
	},
	textT: {
		type: [String, Array],
		default: ''
	}
})
</script>
